Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #263 - Update the npm package metadata #264

Merged
merged 1 commit into from
Nov 9, 2022

Conversation

matheo
Copy link
Collaborator

@matheo matheo commented Nov 8, 2022

Reorganized the fields to leave the file pointers at the end,
adding the exports as suggested in the Skypack docs:
https://docs.skypack.dev/package-authors/package-checks

@matheo matheo requested a review from cosinekitty November 8, 2022 23:08
@matheo matheo self-assigned this Nov 8, 2022
"url": "https://github.com/cosinekitty/astronomy/issues"
"files": [
"esm/astronomy.js",
"astronomy.d.ts",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@matheo (I'm asking this because I don't know much about npm packages.) Should we also include astronomy.ts in this list? Do people ever develop against TypeScript source directly within an npm package?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope, ESM is already close to the ts syntax
and npmJS is not supposed to have TS packages 😅

@cosinekitty cosinekitty merged commit 40cd7e3 into cosinekitty:master Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants